package model

import "go.mongodb.org/mongo-driver/bson/primitive"

//测点信息
type LocationInfo struct {
	Id 				primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Norms_Type         string  `bson:"norms_type" binding:"required" form:"norms_type" json:"norms_type"`
	Batch_Number         string  `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Creator              string  `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt            string  `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe             string  `bson:"describe" json:"describe" form:"describe"`    //描述
	No_3                 float32 `bson:"no_3" json:"no_3" form:"no_3"`
	No_7                 float32 `bson:"no_7" json:"no_7" form:"no_7"`
	No_11                float32 `bson:"no_11" json:"no_11" form:"no_11"`
	No_13_OC_Top         float32 `bson:"no_13_oc_top" json:"no_13_oc_top" form:"no_13_oc_top"`
	No_13_OC_Middle      float32 `bson:"no_13_oc_middle" json:"no_13_oc_middle" form:"no_13_oc_middle"`
	No_13_OC_Bottom      float32 `bson:"no_13_oc_bottom" json:"no_13_oc_bottom" form:"no_13_oc_bottom"`
	No_15                float32 `bson:"no_15" json:"no_15" form:"no_15"`
	No_17                float32 `bson:"no_17" json:"no_17" form:"no_17"`
	No_19_OC_Top         float32 `bson:"no_19_oc_top" json:"no_19_oc_top" form:"no_19_oc_top"`
	No_19_OC_Middle      float32 `bson:"no_19_oc_middle" json:"no_19_oc_middle" form:"no_19_oc_middle"`
	No_19_OC_Bottom      float32 `bson:"no_19_oc_bottom" json:"no_19_oc_bottom" form:"no_19_oc_bottom"`
	No_21                float32 `bson:"no_21" json:"no_21" form:"no_21"`
	No_23                float32 `bson:"no_23" json:"no_23" form:"no_23"`
	Firebox_O2           float32 `bson:"firebox_O2" json:"firebox_O2" form:"firebox_O2" `
	Firebox_OC           float32 `bson:"firebox_oc" json:"firebox_oc" form:"firebox_oc"`
	No21_bottom_OC       float32 `bson:"no_21_bottom_oc" json:"no_21_bottom_oc" form:"no_21_bottom_oc"`
	F1_Entry_OC          float32 `bson:"f1_entry_oc" json:"f1_entry_oc" form:"f1_entry_oc"`
	F2_Entry_OC          float32 `bson:"f2_entry_oc" json:"f2_entry_oc" form:"f2_entry_oc"`
	Piping_Pressure      float32 `bson:"piping_pressure" json:"piping_pressure" form:"piping_pressure"`
	Before_Fire_Pressure float32 `bson:"before_fire_pressure" json:"before_fire_pressure" form:"before_fire_pressure"`
	F2_Load              float32 `bson:"f2_load" json:"f2_load" form:"f2_load"`
	F2_Noload            float32 `bson:"f2_noload" json:"f2_noload" form:"f2_noload"`
	F3_Load              float32 `bson:"f3_load" json:"f3_load" form:"f3_load"`
	F3_Noload            float32 `bson:"f3_noload" json:"f3_noload" form:"f3_noload"`
	Total_Natgas_Volume  float32 `bson:"total_natgas_volume" json:"total_natgas_volume" form:"total_natgas_volume"`
	H1_Value             float32 `bson:"H1_value" json:"H1_value" form:"H1_value"`
	H2_Value             float32 `bson:"H2_value" json:"H2_value" form:"H2_value"`
	H3_Value             float32 `bson:"H3_value" json:"H3_value" form:"H3_value"`
	H4_Value             float32 `bson:"H4_value" json:"H4_value" form:"H4_value"`
	H5_Value             float32 `bson:"H5_value" json:"H5_value" form:"H5_value"`
	H6_Value             float32 `bson:"H6_value" json:"H6_value" form:"H6_value"`
	L1_Value             float32 `bson:"L1_value" json:"L1_value" form:"L1_value"`
	L2_Value             float32 `bson:"L2_value" json:"L2_value" form:"L2_value"`
	L3_Value             float32 `bson:"L3_value" json:"L3_value" form:"L3_value"`
	L4_Value             float32 `bson:"L4_value" json:"L4_value" form:"L4_value"`
	L5_Value             float32 `bson:"L5_value" json:"L5_value" form:"L5_value"`
	Desc                 string  `bson:"desc" json:"desc" form:"desc"`
	Y1_Value             float32 `bson:"Y1_value" json:"Y1_value" form:"Y1_value"`
	Y2_Value             float32 `bson:"Y2_value" json:"Y2_value" form:"Y2_value"`
	Y3_Value             float32 `bson:"Y3_value" json:"Y3_value" form:"Y3_value"`
	Y4_Value             float32 `bson:"Y4_value" json:"Y4_value" form:"Y4_value"`
	Y5_Value             float32 `bson:"Y5_value" json:"Y5_value" form:"Y5_value"`
	Y6_Value             float32 `bson:"Y6_value" json:"Y6_value" form:"Y6_value"`
	Y7_Fan               float32 `bson:"Y7_fan" json:"Y7_fan" form:"Y7_fan"`
	Y8_Fan               float32 `bson:"Y8_fan" json:"Y8_fan" form:"Y8_fan"`
	F1_Fan               float32 `bson:"F1_fan" json:"F1_fan" form:"F1_fan"`
	F2_Fan               float32 `bson:"F2_fan" json:"F2_fan" form:"F2_fan"`
	F3_Fan               float32 `bson:"F3_fan" json:"F3_fan" form:"F3_fan"`
	Y4_Fan               float32 `bson:"Y4_fan" json:"Y4_fan" form:"Y4_fan"`
	Y5_Fan               float32 `bson:"Y5_fan" json:"Y5_fan" form:"Y5_fan"`
	Y6_Fan               float32 `bson:"Y6_fan" json:"Y6_fan" form:"Y6_fan"`
	Y9_Fan               float32 `bson:"Y9_fan" json:"Y9_fan" form:"Y9_fan"`
}

//进车信息

type Incar_Info struct {
	Id 				primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Car_Number   string `bson:"car_number" json:"car_number" form:"car_number"`
	Norms        string `bson:"norms" json:"norms" form:"norms"`
	Amount       int    `json:"amount" bson:"amount" form:"amount"`
	Desc         string `bson:"desc" json:"desc" form:"desc"`
	Batch_Number string `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Creator      string `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt    string `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe     string `bson:"describe" json:"describe" form:"describe"`    //描述
}

//出车信息

type Outcar_Info struct {
	Id 				primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Car_Number   string `bson:"car_number" json:"car_number" form:"car_number"`
	Norms        string `bson:"norms" json:"norms" form:"norms"`
	Amount       int    `json:"amount" bson:"amount" form:"amount"`
	Desc         string `bson:"desc" json:"desc" form:"desc"`
	Batch_Number string `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Creator      string `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt    string `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe     string `bson:"describe" json:"describe" form:"describe"`    //描述
}

//交接班

type Handover_Successor struct {
	Id 				primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Norms_Type         string  `bson:"norms_type"  form:"norms_type" json:"norms_type"`
	Batch_Number     string `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Creator          string `bson:"creator" json:"creator" form:"creator"`       //创建者
	CreatedAt        string `bson:"createdAt" json:"createdAt" form:"createdAt"` //后端生成时间
	Describe         string `bson:"describe" json:"describe" form:"describe"`    //描述
	Handover_Person  string `bson:"handover_person" json:"handover_person" form:"handover_person"`
	Successor string `bson:"successor" json:"successor" form:"successor"`
	Task 			 string `bson:"task" json:"task" form:"task" binding:"required"`
}
